3.3.14 \(\int x^2 (a+b \log (c x^n)) \text {Li}_3(e x) \, dx\) [214]

Optimal. Leaf size=253 \[ -\frac {2 b n x}{27 e^2}-\frac {b n x^2}{36 e}-\frac {4}{243} b n x^3+\frac {x \left (a+b \log \left (c x^n\right )\right )}{27 e^2}+\frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{54 e}+\frac {1}{81} x^3 \left (a+b \log \left (c x^n\right )\right )-\frac {b n \log (1-e x)}{27 e^3}+\frac {1}{27} b n x^3 \log (1-e x)+\frac {\left (a+b \log \left (c x^n\right )\right ) \log (1-e x)}{27 e^3}-\frac {1}{27} x^3 \left (a+b \log \left (c x^n\right )\right ) \log (1-e x)+\frac {b n \text {Li}_2(e x)}{27 e^3}+\frac {2}{27} b n x^3 \text {Li}_2(e x)-\frac {1}{9} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)-\frac {1}{9} b n x^3 \text {Li}_3(e x)+\frac {1}{3} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x) \]

[Out]

-2/27*b*n*x/e^2-1/36*b*n*x^2/e-4/243*b*n*x^3+1/27*x*(a+b*ln(c*x^n))/e^2+1/54*x^2*(a+b*ln(c*x^n))/e+1/81*x^3*(a
+b*ln(c*x^n))-1/27*b*n*ln(-e*x+1)/e^3+1/27*b*n*x^3*ln(-e*x+1)+1/27*(a+b*ln(c*x^n))*ln(-e*x+1)/e^3-1/27*x^3*(a+
b*ln(c*x^n))*ln(-e*x+1)+1/27*b*n*polylog(2,e*x)/e^3+2/27*b*n*x^3*polylog(2,e*x)-1/9*x^3*(a+b*ln(c*x^n))*polylo
g(2,e*x)-1/9*b*n*x^3*polylog(3,e*x)+1/3*x^3*(a+b*ln(c*x^n))*polylog(3,e*x)

________________________________________________________________________________________

Rubi [A]
time = 0.18, antiderivative size = 253, normalized size of antiderivative = 1.00, number of steps used = 15, number of rules used = 6, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.316, Rules used = {2432, 2442, 45, 2423, 2438, 6726} \begin {gather*} -\frac {1}{9} x^3 \text {PolyLog}(2,e x) \left (a+b \log \left (c x^n\right )\right )+\frac {1}{3} x^3 \text {PolyLog}(3,e x) \left (a+b \log \left (c x^n\right )\right )+\frac {b n \text {PolyLog}(2,e x)}{27 e^3}+\frac {2}{27} b n x^3 \text {PolyLog}(2,e x)-\frac {1}{9} b n x^3 \text {PolyLog}(3,e x)+\frac {\log (1-e x) \left (a+b \log \left (c x^n\right )\right )}{27 e^3}+\frac {x \left (a+b \log \left (c x^n\right )\right )}{27 e^2}-\frac {1}{27} x^3 \log (1-e x) \left (a+b \log \left (c x^n\right )\right )+\frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{54 e}+\frac {1}{81} x^3 \left (a+b \log \left (c x^n\right )\right )-\frac {b n \log (1-e x)}{27 e^3}-\frac {2 b n x}{27 e^2}+\frac {1}{27} b n x^3 \log (1-e x)-\frac {b n x^2}{36 e}-\frac {4}{243} b n x^3 \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^2*(a + b*Log[c*x^n])*PolyLog[3, e*x],x]

[Out]

(-2*b*n*x)/(27*e^2) - (b*n*x^2)/(36*e) - (4*b*n*x^3)/243 + (x*(a + b*Log[c*x^n]))/(27*e^2) + (x^2*(a + b*Log[c
*x^n]))/(54*e) + (x^3*(a + b*Log[c*x^n]))/81 - (b*n*Log[1 - e*x])/(27*e^3) + (b*n*x^3*Log[1 - e*x])/27 + ((a +
 b*Log[c*x^n])*Log[1 - e*x])/(27*e^3) - (x^3*(a + b*Log[c*x^n])*Log[1 - e*x])/27 + (b*n*PolyLog[2, e*x])/(27*e
^3) + (2*b*n*x^3*PolyLog[2, e*x])/27 - (x^3*(a + b*Log[c*x^n])*PolyLog[2, e*x])/9 - (b*n*x^3*PolyLog[3, e*x])/
9 + (x^3*(a + b*Log[c*x^n])*PolyLog[3, e*x])/3

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 2423

Int[Log[(d_.)*((e_) + (f_.)*(x_)^(m_.))^(r_.)]*((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((g_.)*(x_))^(q_.), x_Sym
bol] :> With[{u = IntHide[(g*x)^q*Log[d*(e + f*x^m)^r], x]}, Dist[a + b*Log[c*x^n], u, x] - Dist[b*n, Int[Dist
[1/x, u, x], x], x]] /; FreeQ[{a, b, c, d, e, f, g, r, m, n, q}, x] && (IntegerQ[(q + 1)/m] || (RationalQ[m] &
& RationalQ[q])) && NeQ[q, -1]

Rule 2432

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_.)*(x_))^(m_.)*PolyLog[k_, (e_.)*(x_)^(q_.)], x_Symbol] :> Simp[
(-b)*n*(d*x)^(m + 1)*(PolyLog[k, e*x^q]/(d*(m + 1)^2)), x] + (-Dist[q/(m + 1), Int[(d*x)^m*PolyLog[k - 1, e*x^
q]*(a + b*Log[c*x^n]), x], x] + Dist[b*n*(q/(m + 1)^2), Int[(d*x)^m*PolyLog[k - 1, e*x^q], x], x] + Simp[(d*x)
^(m + 1)*PolyLog[k, e*x^q]*((a + b*Log[c*x^n])/(d*(m + 1))), x]) /; FreeQ[{a, b, c, d, e, m, n, q}, x] && IGtQ
[k, 0]

Rule 2438

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2, (-c)*e*x^n]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rule 2442

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))*((f_.) + (g_.)*(x_))^(q_.), x_Symbol] :> Simp[(f + g*
x)^(q + 1)*((a + b*Log[c*(d + e*x)^n])/(g*(q + 1))), x] - Dist[b*e*(n/(g*(q + 1))), Int[(f + g*x)^(q + 1)/(d +
 e*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n, q}, x] && NeQ[e*f - d*g, 0] && NeQ[q, -1]

Rule 6726

Int[((d_.)*(x_))^(m_.)*PolyLog[n_, (a_.)*((b_.)*(x_)^(p_.))^(q_.)], x_Symbol] :> Simp[(d*x)^(m + 1)*(PolyLog[n
, a*(b*x^p)^q]/(d*(m + 1))), x] - Dist[p*(q/(m + 1)), Int[(d*x)^m*PolyLog[n - 1, a*(b*x^p)^q], x], x] /; FreeQ
[{a, b, d, m, p, q}, x] && NeQ[m, -1] && GtQ[n, 0]

Rubi steps

\begin {align*} \int x^2 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x) \, dx &=-\frac {1}{9} b n x^3 \text {Li}_3(e x)+\frac {1}{3} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)-\frac {1}{3} \int x^2 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x) \, dx+\frac {1}{9} (b n) \int x^2 \text {Li}_2(e x) \, dx\\ &=\frac {2}{27} b n x^3 \text {Li}_2(e x)-\frac {1}{9} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)-\frac {1}{9} b n x^3 \text {Li}_3(e x)+\frac {1}{3} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)-\frac {1}{9} \int x^2 \left (a+b \log \left (c x^n\right )\right ) \log (1-e x) \, dx+2 \left (\frac {1}{27} (b n) \int x^2 \log (1-e x) \, dx\right )\\ &=\frac {x \left (a+b \log \left (c x^n\right )\right )}{27 e^2}+\frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{54 e}+\frac {1}{81} x^3 \left (a+b \log \left (c x^n\right )\right )+\frac {\left (a+b \log \left (c x^n\right )\right ) \log (1-e x)}{27 e^3}-\frac {1}{27} x^3 \left (a+b \log \left (c x^n\right )\right ) \log (1-e x)+\frac {2}{27} b n x^3 \text {Li}_2(e x)-\frac {1}{9} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)-\frac {1}{9} b n x^3 \text {Li}_3(e x)+\frac {1}{3} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)+\frac {1}{9} (b n) \int \left (-\frac {1}{3 e^2}-\frac {x}{6 e}-\frac {x^2}{9}-\frac {\log (1-e x)}{3 e^3 x}+\frac {1}{3} x^2 \log (1-e x)\right ) \, dx+2 \left (\frac {1}{81} b n x^3 \log (1-e x)+\frac {1}{81} (b e n) \int \frac {x^3}{1-e x} \, dx\right )\\ &=-\frac {b n x}{27 e^2}-\frac {b n x^2}{108 e}-\frac {1}{243} b n x^3+\frac {x \left (a+b \log \left (c x^n\right )\right )}{27 e^2}+\frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{54 e}+\frac {1}{81} x^3 \left (a+b \log \left (c x^n\right )\right )+\frac {\left (a+b \log \left (c x^n\right )\right ) \log (1-e x)}{27 e^3}-\frac {1}{27} x^3 \left (a+b \log \left (c x^n\right )\right ) \log (1-e x)+\frac {2}{27} b n x^3 \text {Li}_2(e x)-\frac {1}{9} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)-\frac {1}{9} b n x^3 \text {Li}_3(e x)+\frac {1}{3} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)+\frac {1}{27} (b n) \int x^2 \log (1-e x) \, dx-\frac {(b n) \int \frac {\log (1-e x)}{x} \, dx}{27 e^3}+2 \left (\frac {1}{81} b n x^3 \log (1-e x)+\frac {1}{81} (b e n) \int \left (-\frac {1}{e^3}-\frac {x}{e^2}-\frac {x^2}{e}-\frac {1}{e^3 (-1+e x)}\right ) \, dx\right )\\ &=-\frac {b n x}{27 e^2}-\frac {b n x^2}{108 e}-\frac {1}{243} b n x^3+\frac {x \left (a+b \log \left (c x^n\right )\right )}{27 e^2}+\frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{54 e}+\frac {1}{81} x^3 \left (a+b \log \left (c x^n\right )\right )+\frac {1}{81} b n x^3 \log (1-e x)+\frac {\left (a+b \log \left (c x^n\right )\right ) \log (1-e x)}{27 e^3}-\frac {1}{27} x^3 \left (a+b \log \left (c x^n\right )\right ) \log (1-e x)+2 \left (-\frac {b n x}{81 e^2}-\frac {b n x^2}{162 e}-\frac {1}{243} b n x^3-\frac {b n \log (1-e x)}{81 e^3}+\frac {1}{81} b n x^3 \log (1-e x)\right )+\frac {b n \text {Li}_2(e x)}{27 e^3}+\frac {2}{27} b n x^3 \text {Li}_2(e x)-\frac {1}{9} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)-\frac {1}{9} b n x^3 \text {Li}_3(e x)+\frac {1}{3} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)+\frac {1}{81} (b e n) \int \frac {x^3}{1-e x} \, dx\\ &=-\frac {b n x}{27 e^2}-\frac {b n x^2}{108 e}-\frac {1}{243} b n x^3+\frac {x \left (a+b \log \left (c x^n\right )\right )}{27 e^2}+\frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{54 e}+\frac {1}{81} x^3 \left (a+b \log \left (c x^n\right )\right )+\frac {1}{81} b n x^3 \log (1-e x)+\frac {\left (a+b \log \left (c x^n\right )\right ) \log (1-e x)}{27 e^3}-\frac {1}{27} x^3 \left (a+b \log \left (c x^n\right )\right ) \log (1-e x)+2 \left (-\frac {b n x}{81 e^2}-\frac {b n x^2}{162 e}-\frac {1}{243} b n x^3-\frac {b n \log (1-e x)}{81 e^3}+\frac {1}{81} b n x^3 \log (1-e x)\right )+\frac {b n \text {Li}_2(e x)}{27 e^3}+\frac {2}{27} b n x^3 \text {Li}_2(e x)-\frac {1}{9} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)-\frac {1}{9} b n x^3 \text {Li}_3(e x)+\frac {1}{3} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)+\frac {1}{81} (b e n) \int \left (-\frac {1}{e^3}-\frac {x}{e^2}-\frac {x^2}{e}-\frac {1}{e^3 (-1+e x)}\right ) \, dx\\ &=-\frac {4 b n x}{81 e^2}-\frac {5 b n x^2}{324 e}-\frac {2}{243} b n x^3+\frac {x \left (a+b \log \left (c x^n\right )\right )}{27 e^2}+\frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{54 e}+\frac {1}{81} x^3 \left (a+b \log \left (c x^n\right )\right )-\frac {b n \log (1-e x)}{81 e^3}+\frac {1}{81} b n x^3 \log (1-e x)+\frac {\left (a+b \log \left (c x^n\right )\right ) \log (1-e x)}{27 e^3}-\frac {1}{27} x^3 \left (a+b \log \left (c x^n\right )\right ) \log (1-e x)+2 \left (-\frac {b n x}{81 e^2}-\frac {b n x^2}{162 e}-\frac {1}{243} b n x^3-\frac {b n \log (1-e x)}{81 e^3}+\frac {1}{81} b n x^3 \log (1-e x)\right )+\frac {b n \text {Li}_2(e x)}{27 e^3}+\frac {2}{27} b n x^3 \text {Li}_2(e x)-\frac {1}{9} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)-\frac {1}{9} b n x^3 \text {Li}_3(e x)+\frac {1}{3} x^3 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [F]
time = 0.10, size = 0, normalized size = 0.00 \begin {gather*} \int x^2 \left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x) \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Integrate[x^2*(a + b*Log[c*x^n])*PolyLog[3, e*x],x]

[Out]

Integrate[x^2*(a + b*Log[c*x^n])*PolyLog[3, e*x], x]

________________________________________________________________________________________

Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int x^{2} \left (a +b \ln \left (c \,x^{n}\right )\right ) \polylog \left (3, e x \right )\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(a+b*ln(c*x^n))*polylog(3,e*x),x)

[Out]

int(x^2*(a+b*ln(c*x^n))*polylog(3,e*x),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*log(c*x^n))*polylog(3,e*x),x, algorithm="maxima")

[Out]

-1/162*(18*x^3*dilog(x*e)*e^3 - 54*x^3*e^3*polylog(3, x*e) - 2*x^3*e^3 - 3*x^2*e^2 - 6*x*e + 6*(x^3*e^3 - 1)*l
og(-x*e + 1))*a*e^(-3) + 1/162*((6*((2*n - 3*log(c))*x^3*e^3 - 3*x^3*e^3*log(x^n))*dilog(x*e) + 6*((n - log(c)
)*x^3*e^3 - n*log(x))*log(-x*e + 1) + (2*x^3*e^3 + 3*x^2*e^2 + 6*x*e - 6*(x^3*e^3 - 1)*log(-x*e + 1))*log(x^n)
 - 18*((n - 3*log(c))*x^3*e^3 - 3*x^3*e^3*log(x^n))*polylog(3, x*e))*e^(-3) + 162*integrate(-1/162*(2*(4*n - 3
*log(c))*x^3*e^3 + n*x^2*e^2 + 3*n*x*e - 6*n*log(x) - 6*n)/(x*e^3 - e^2), x))*b

________________________________________________________________________________________

Fricas [A]
time = 0.38, size = 274, normalized size = 1.08 \begin {gather*} -\frac {1}{972} \, {\left (4 \, {\left (4 \, b n - 3 \, a\right )} x^{3} e^{3} + 9 \, {\left (3 \, b n - 2 \, a\right )} x^{2} e^{2} + 36 \, {\left (2 \, b n - a\right )} x e - 36 \, {\left ({\left (2 \, b n - 3 \, a\right )} x^{3} e^{3} + b n\right )} {\rm Li}_2\left (x e\right ) - 36 \, {\left ({\left (b n - a\right )} x^{3} e^{3} - b n + a\right )} \log \left (-x e + 1\right ) + 6 \, {\left (18 \, b x^{3} {\rm Li}_2\left (x e\right ) e^{3} - 2 \, b x^{3} e^{3} - 3 \, b x^{2} e^{2} - 6 \, b x e + 6 \, {\left (b x^{3} e^{3} - b\right )} \log \left (-x e + 1\right )\right )} \log \left (c\right ) + 6 \, {\left (18 \, b n x^{3} {\rm Li}_2\left (x e\right ) e^{3} - 2 \, b n x^{3} e^{3} - 3 \, b n x^{2} e^{2} - 6 \, b n x e + 6 \, {\left (b n x^{3} e^{3} - b n\right )} \log \left (-x e + 1\right )\right )} \log \left (x\right ) - 108 \, {\left (3 \, b n x^{3} e^{3} \log \left (x\right ) + 3 \, b x^{3} e^{3} \log \left (c\right ) - {\left (b n - 3 \, a\right )} x^{3} e^{3}\right )} {\rm polylog}\left (3, x e\right )\right )} e^{\left (-3\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*log(c*x^n))*polylog(3,e*x),x, algorithm="fricas")

[Out]

-1/972*(4*(4*b*n - 3*a)*x^3*e^3 + 9*(3*b*n - 2*a)*x^2*e^2 + 36*(2*b*n - a)*x*e - 36*((2*b*n - 3*a)*x^3*e^3 + b
*n)*dilog(x*e) - 36*((b*n - a)*x^3*e^3 - b*n + a)*log(-x*e + 1) + 6*(18*b*x^3*dilog(x*e)*e^3 - 2*b*x^3*e^3 - 3
*b*x^2*e^2 - 6*b*x*e + 6*(b*x^3*e^3 - b)*log(-x*e + 1))*log(c) + 6*(18*b*n*x^3*dilog(x*e)*e^3 - 2*b*n*x^3*e^3
- 3*b*n*x^2*e^2 - 6*b*n*x*e + 6*(b*n*x^3*e^3 - b*n)*log(-x*e + 1))*log(x) - 108*(3*b*n*x^3*e^3*log(x) + 3*b*x^
3*e^3*log(c) - (b*n - 3*a)*x^3*e^3)*polylog(3, x*e))*e^(-3)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{2} \left (a + b \log {\left (c x^{n} \right )}\right ) \operatorname {Li}_{3}\left (e x\right )\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*(a+b*ln(c*x**n))*polylog(3,e*x),x)

[Out]

Integral(x**2*(a + b*log(c*x**n))*polylog(3, e*x), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*log(c*x^n))*polylog(3,e*x),x, algorithm="giac")

[Out]

integrate((b*log(c*x^n) + a)*x^2*polylog(3, x*e), x)

________________________________________________________________________________________

Mupad [F(-1)]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \text {Hanged} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*polylog(3, e*x)*(a + b*log(c*x^n)),x)

[Out]

\text{Hanged}

________________________________________________________________________________________